home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
WCE30A.ARJ
/
DSIWIN.C
< prev
next >
Wrap
C/C++ Source or Header
|
1992-05-07
|
867b
|
61 lines
/*
*
* MODULE: DSWIN.C
*
*/
#include "dsimport.h"
/*
*
* FUNCTION: ImportWndProc(HWND, WORD, WORD, LONG)
*
*/
LONG FAR PASCAL ImportWndProc(hWnd, msg, wParam, lParam)
HWND hWnd;
WORD msg;
WORD wParam;
LONG lParam;
{
switch (msg)
{
case WM_CREATE:
break;
case WM_COMMAND:
{
switch (wParam)
{
case IDM_FILEEXIT:
{
PostQuitMessage(0);
}
break;
case IDM_HELPABOUT:
{
FARPROC lpfn;
lpfn = MakeProcInstance(AboutDlgProc, hInst);
DialogBox(hInst, IDD_ABOUT, hWnd, lpfn);
FreeProcInstance(lpfn);
}
break;
}
break;
}
case WM_DESTROY:
{
PostQuitMessage(0);
}
break;
default:
return (DefWindowProc(hWnd, msg, wParam, lParam));
}
return (0);
}